package com.phicomm.lostprotected;

import com.phicomm.mobilesecurity.R;

import android.app.Activity;
import android.content.Intent;
import android.content.SharedPreferences.Editor;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Setup3Activity extends Activity implements OnClickListener{
	private Button bt_setup3_next;
	private Button bt_setup3_pre;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		setContentView(R.layout.lp_setup3);
		bt_setup3_next=(Button) findViewById(R.id.bt_setup3_next);
		bt_setup3_pre=(Button) findViewById(R.id.bt_setup3_pre);
		bt_setup3_next.setOnClickListener(this);
		bt_setup3_pre.setOnClickListener(this);
	}
	@Override
	public void onClick(View v) {
		switch (v.getId()) {
		case R.id.bt_setup3_next:
			Intent next_intent =new Intent(Setup3Activity.this,Setup4Activity.class);
			startActivity(next_intent);
			finish();
			break;
		case R.id.bt_setup3_pre:
			Intent pre_intent =new Intent(Setup3Activity.this,Setup2Activity.class);
			startActivity(pre_intent);
			finish();
			break;
		}
		
	}
}
